<?php 
	namespace Home\Model;
	use Think\Model;
	class PostresumesModel extends Model{
		protected $_validate = array(
			array('email','require','邮箱必须填写'),
			array('email','email','邮箱格式不正确',3,),
			array('email','','邮箱已经存在!',1,'unique',3)
			);

		protected $_auto = array(
			array('public','time',3,'function')
			);
	}

 ?>